<style>
    #main{
        height: 120%;
    }
</style>
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
        <div class="col-xs-12 col-sm-2">
            <input id="c-money" class="form-control form-control" step="0.01" value="1" name="amount" type="number" data-rule="require">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::radios('pay_type', ['wechat'=>'微信支付','alipay'=>'支付宝'], 'wechat', ['data-rule'=>'required'])}
        </div>
    </div>

    {if condition="!$is_company"}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('商家')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-admin_id" data-source="auth/Admin/company" class="form-control selectpage form-control"
                   name="admin_id" type="text" value="" data-rule="require"/>
        </div>
    </div>
    {/if}
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-experience disabled" onclick="return false;">{:__('OK')}</button>
            <button type="reset" class="btn btn-default">{:__('Reset')}</button>
        </div>
    </div>
</form>
